/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.xepf.xml.adapter;

import org.xepf.utils.ObjectCreator;

/**
 *
 * 
 */
public class SimpleXSLT {
    static String transform(String xsl, String xml) throws Exception {
        XSLT xslt = (XSLT) ObjectCreator.get("XSLT");
        xslt.initialize(xsl, xml);
        xslt.transform();
        return xslt.getTransformationResult();
    }    
}
